package com.sqx.modules.health.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sqx.modules.health.entity.UserExpand;
import com.sqx.modules.health.mapper.UserExpandMapper;
import com.sqx.modules.health.service.IUserExpandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户拓展表 服务实现类
 * </p>
 *
 * @author gxy
 * @since 2022-06-13
 */
@Service
public class UserExpandServiceImpl extends ServiceImpl<UserExpandMapper, UserExpand> implements IUserExpandService {

    @Autowired
    private UserExpandMapper expandMapper;

    @Override
    public UserExpand getExpandByFlag(String flag) {
        return expandMapper.getExpandByFlag(flag);
    }
}
